package com.entity;

public class Saler {
    public Saler() {
    }

    public Saler(String salerName, String accountName, String passWord, String address) {
        this.salerName = salerName;
        this.accountName = accountName;
        this.passWord = passWord;
        this.address = address;
        this.isManager = 1;
    }

    private String salerName;
    private String accountName;
    private String passWord;
    private  Long salerId;
    private String address;
    private int isManager;



    public String getSalerName() {
        return salerName;
    }

    public void setSalerName(String salerName) {
        this.salerName = salerName;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public Long getSalerId() {
        return salerId;
    }

    public void setSalerId(Long salerId) {
        this.salerId = salerId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public int getIsManager() {
        return isManager;
    }

    public void setIsManager(int isManager) {
        this.isManager = isManager;
    }
}
